package com.ryskoo.controller.operation;

import com.ryskoo.framework.core.controller.BasicHandler;
import com.ryskoo.operation.message.domain.MessagePO;
import com.ryskoo.operation.message.service.IMessageService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/vendor/operation/websitemessage")
public class MessageController extends BasicHandler<MessagePO> {

    private static final String TEMPLATE_PATH = "system/operation";

    private static final String MODULE_NAME = "Message";

    /**
     * 构造方法
     */
    public MessageController() {
        super(TEMPLATE_PATH,MODULE_NAME);
    }

    private IMessageService messageService;

    @Autowired
    public void setService(IMessageService messageService) {
        this.messageService = messageService;
        super.setService(messageService);
    }
}
